<template>
  <div id="redirect">
    加载中
  </div>
</template>

<script>
export default {
  mounted() {
    let { id, login, avatar_url } = this.$route.query;
    localStorage.setItem('personalblob_id', id);
    localStorage.setItem('personalblob_login', login);
    localStorage.setItem('personalblob_avatar_url', avatar_url);
    this.$router.push('/');
  },
};
</script>

<style lang="less" scoped></style>
